[IDLE-000] 네트워크 연결확인 / 강제업데이트 / FireBase 크래쉬리틱스 추가 #65
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
변경된 점
네트워크 연결상태 확인
앱이 실행되면 네트워크가 연결상태인지 확인합니다.

Network프레임워크를 사용하여 네트워크 연결여부를 모니터링하였습니다.
네트워크 연결을 최초로 확인한 이후에 다음스탭(강제 업데이트 여부 확인)으로 넘어가도록 설정했습니다.
FireBase 크래쉬리틱스
Firebase 크래쉬리틱스를 연동하였습니다.

강제업데이트 확인
강제업데이트는 Firebase RemoteConfig으로 부터 최소 앱버전을 가져온 후 현재 앱의 버전과 비교를 통해 강제업데이트위한 모달을 띄우는 방식으로 구현했습니다.

RemoteConfig를 fetch할 수 없는 경우 강제 크래쉬를 내는 방향으로 설정하였습니다. 그리고 해당 내역을 로그 매세지로 전달받을 수 있게 하였습니다.